lib_LTLIBRARIES = \
libHelixHough.la

noinst_HEADERS = \
vector_math_inline.h \
vector_math_inline_avx.h

EXTRA_HEADERS = 

include_HEADERS = $(sPHENIX_INC) \
HelixHough.h \
fastvec.h \
HelixResolution.h \
HelixRange.h \
SimpleHit3D.h \
SimpleTrack3D.h \
VertexFinder.h \
VertexFitFunc.h \
Kalman/HelixKalman.h \
Kalman/HelixKalmanState.h \
Kalman/CylinderKalman.h

extra_sources =
if SPHENIX_ENABLED
extra_sources += sPHENIX/sPHENIXTracker.cpp sPHENIX/sPHENIXTracker_fastFit.cpp sPHENIX/sPHENIXTracker_findTracksBySegments.cpp sPHENIX/sPHENIXTracker_parallel.cpp sPHENIX/sPHENIXTracker_projection.cpp sPHENIX/sPHENIXTracker_findTracksBySegments_avx.cpp
endif

libHelixHough_la_SOURCES = $(extra_sources) \
HelixHough_findHelices.cpp \
HelixHough_findPairs.cpp \
HelixHough_init.cpp \
HelixHough_phiRange_sse.cpp \
HelixHough_vote_sse.cpp \
HelixHough_vote_pairs_sse.cpp \
HelixHough_allButKappaRange_sse.cpp \
HelixHough_dzdlRange_sse.cpp \
HelixHough_split.cpp \
VertexFinder.cpp \
VertexFitFunc.cpp \
Kalman/HelixKalman.cpp \
Kalman/HelixKalmanState.cpp \
Kalman/CylinderKalman.cpp


libHelixHough_la_LIBADD = \
$(eigen3_LIBS) \
$(fitnewton_LIBS)



libHelixHough_la_LDFLAGS = -version-info 1:0:0

libHelixHough_la_CPPFLAGS =  \
-I$(top_srcdir)/FourHitSeedFinder \
-I$(top_srcdir)/sPHENIX \
-I$(top_srcdir)/Kalman \
$(eigen3_CFLAGS) \
$(fitnewton_CFLAGS)


pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = helix_hough.pc

